﻿using System.Web.Security;

namespace MyAMS.WebServer.Services
{
    /// <summary>
    /// 会员服务
    /// </summary>
    public class MembershipService : IMembershipService
    {
        #region IMembershipService Members

        /// <summary>
        /// 获取最短密码长度
        /// </summary>
        /// <value>最短密码长度</value>
        public int MinPasswordLength
        {
            get { throw new System.NotImplementedException(); }
        }

        /// <summary>
        /// 验证用户
        /// </summary>
        /// <param name="userName">用户名</param>
        /// <param name="password">密码</param>
        /// <returns></returns>
        public bool ValidateUser(string userName, string password)
        {
            throw new System.NotImplementedException();
        }

        /// <summary>
        /// 创建用户
        /// </summary>
        /// <param name="userName">用户名</param>
        /// <param name="password">密码</param>
        /// <param name="email">电子邮件</param>
        /// <returns></returns>
        public MembershipCreateStatus CreateUser(string userName, string password, string email)
        {
            throw new System.NotImplementedException();
        }

        /// <summary>
        /// 修改密码
        /// </summary>
        /// <param name="userName">用户名</param>
        /// <param name="oldPassword">原密码</param>
        /// <param name="newPassword">新密码</param>
        /// <returns></returns>
        public bool ChangePassword(string userName, string oldPassword, string newPassword)
        {
            throw new System.NotImplementedException();
        }

        #endregion
    }
}
